﻿@{
    Layout = null;
}
<!DOCTYPE html>
<html>
<head>
    <title>Search</title>
</head>
<body>
    @{
        IList<Models.BlogInfo> blogList = ViewBag.blogList as List<Models.BlogInfo>;
    }
    <div>
        @{
            if (blogList == null || blogList.Count == 0)
            { 
            @:"没有查询到任何的数据结果"
        }
            else
            {
                Html.RenderPartial("~/views/blog/index.cshtml", blogList);
            }
        }
    </div>
</body>
</html>
